<template>
  <van-swipe :show-indicators="false" :autoplay="3000">
    <van-swipe-item v-for="(item, index) in all" :key="index">
      <van-image :src="item.cover"></van-image>
    </van-swipe-item>
  </van-swipe>
</template>

<script>
export default {
  props: ['all'],
}
</script>

<style>
.van-swipe-item .van-image {
  width: 100%;
  height: 75vw;
  object-fit: cover;
}
</style>
